package com.shop.rabbit.business;


import cn.model.Entrust;
import com.alibaba.fastjson2.JSON;
import org.springframework.stereotype.Component;

@Component
public class EntrustBusiness {

    public void execute(String message) {
        System.out.println("EntrustBusiness 消息送达"+message);
        Entrust entrust = JSON.parseObject(message, Entrust.class);
        if(entrust.getUld().equals("UP")){

        }else {

        }
    }
}
